//
//  NSFileInfoItem.h
//  Penda
//
//  Created by Duckjin Kang on 1/4/10.
//  Copyright 2010 StonyBrookUniv.. All rights reserved.
//

#import <Cocoa/Cocoa.h>


@interface NSFileInfoItem : NSObject {
	NSString* name;		// full path

	NSString* fileName;
	NSString* fileTitle;
	NSString* fileExt;
	NSString* parentPath;
	
	NSString* newName;
	NSMutableDictionary* attributes;
	// for file 
	BOOL dirtyCreate;
	BOOL dirtyModify;
	BOOL dirtyAccess;
	
}

@property (readonly) NSMutableDictionary* attributes;
@property (copy) NSString* name;
@property (copy) NSString* newName;
@property (assign) BOOL dirtyAccess, dirtyCreate, dirtyModify;
@property (copy) NSString* fileName;
@property (copy) NSString* fileTitle;
@property (copy) NSString* fileExt;
@property (copy) NSString* parentPath;

-(NSFileInfoItem*) initWithFilePath:(NSString*) path;
-(BOOL) flush;

@end
